package com.dd.cloud.user.entity.chknowl;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author xt
 */

@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "药品归经关联表")
public class ChknowlChDrugsTropismLink {

    /**
     * 主键
     */
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 药品id
     */
    @Column(comment = "中药id")
    private Integer drugId;

    /**
     * 归经id
     */
    @Column(comment = "归经id")
    private Integer tropismId;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;


}
